<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
<meta charset="utf8">
	<title>用户管理</title>
	<link rel="stylesheet" type="text/css" href="/appstore/Public/bootstrap/css/bootstrap.min.css"/>
</head>
<body>
<h1>妈的</h1>
<table class="table">
	<tr>
		<th>头像</th>
		<th>用户名</th>
		<th>真实姓名</th>
		<th>邮箱</th>
		<th>电话</th>
		<th>状态</th>
		<th>审核</th>
		<th>明星作者</th>
		<th>首页推荐</th>
		<th>操作</th>
	</tr>
	<?php if(is_array($users)): $i = 0; $__LIST__ = $users;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
		<td> <img src="/appstore/Public/uploads/photo/<?php echo ($vo["photo"]); ?>" width="50" height="50"> </td>
		<td> <?php echo ($vo["username"]); ?> </td>
		<td> <?php echo ($vo["realname"]); ?> </td>
		<td> <?php echo ($vo['email']); ?> </td>
		<td> <?php echo ($vo['tele']); ?> </td>
		<td> 
			<?php if($vo["state"] == 0): ?>禁用
			<?php elseif($vo["state"] == 1): ?>普通
			<?php else: ?> 禁言<?php endif; ?>
		</td>
		<td> <?php echo ($vo['verifyinfo']); ?> </td>
		<td> 
			<?php if($vo["isstar"] == 0): ?>是
			<?php else: ?>否<?php endif; ?>
		</td>
		<td> 
			<?php if($vo["isfirst"] == 0): ?>是
			<?php else: ?>否<?php endif; ?>
		</td>
		<td> 修改 删除</td>

	</tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>


</body>
</html>